package cn.b.sky.mes.mm.model;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : Supplier.java<br>
 * </strong> <strong>Package : cn.b.sky.mes.mm.model<br>
 * </strong> <strong>Description : </strong>供应商对象<br>
 * <strong>Create on : 2016-2-29 下午1:32:18<br>
 * </strong>
 * <p>
 * 
 * @author lidapeng<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *           修改人 | 修改日期 | 修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
public class Supplier extends ImeCommon {

  /**
   * 供应商编号
   */
  private String supplierCode;

  /**
   * 供应商描述
   */
  private String supplierText;

  /**
   * 供应商地址
   */
  private String address;

  /**
   * 供应商联系人
   */
  private String contact;

  /**
   * 联系电话
   */
  private String telephone;

  /**
   * 邮箱
   */
  private String email;

  /**
   * 锁定标志
   */
  private Integer lockFlag = 0;

  public String getSupplierCode() {
    return StringUtils.upperCase(supplierCode);
  }

  public void setSupplierCode(String supplierCode) {
    this.supplierCode = StringUtils.upperCase(supplierCode);
  }

  public String getSupplierText() {
    return supplierText;
  }

  public void setSupplierText(String supplierText) {
    this.supplierText = supplierText;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getContact() {
    return contact;
  }

  public void setContact(String contact) {
    this.contact = contact;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

}
